package com.atguigu.gmall.seckill;


import com.atguigu.gmall.common.config.mq.annotation.EnableMqService;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.cloud.client.SpringCloudApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.scheduling.annotation.EnableScheduling;

@EnableFeignClients(basePackages = {"com.atguigu.gmall.feign.user","com.atguigu.gmall.feign.order"})
@EnableMqService
@EnableScheduling//开启定时任务
@SpringCloudApplication
@MapperScan(basePackages = "com.atguigu.gmall.seckill.mapper")
public class SeckillApplication {
    public static void main(String[] args) {
        SpringApplication.run(SeckillApplication.class, args);
    }
}
